package entity

import "ruoyi-go/utils"

// Model edge_car_license_plate  车牌库管理表
type EdgeCarLicensePlate struct {
	Id                    int64          `json:"id" gorm:"primaryKey;column:id" form:"id"`                                           //自增ID
	PlateNumber           string         `json:"plateNumber" gorm:"plate_number" form:"plateNumber"`                                 //车牌号
	UploadTime            string         `json:"uploadTime" gorm:"upload_time" form:"uploadTime"`                                    //上传时间
	Status                string         `json:"status" gorm:"status" form:"status"`                                                 //上传状态：1未上传2已上传3上传失败
	CreateTime            utils.JsonTime `json:"createTime" gorm:"create_time" form:"createTime"`                                    //创建时间
	UpdateTime            utils.JsonTime `json:"updateTime" gorm:"update_time" form:"updateTime"`                                    //更新时间
	CarLicensePlateField1 string         `json:"carLicensePlateField1" gorm:"car_license_plate_field1" form:"carLicensePlateField1"` //备用字段1
	CarLicensePlateField2 string         `json:"carLicensePlateField2" gorm:"car_license_plate_field2" form:"carLicensePlateField2"` //备用字段2
	CarLicensePlateField3 string         `json:"carLicensePlateField3" gorm:"car_license_plate_field3" form:"carLicensePlateField3"` //备用字段3
	CarLicensePlateField4 string         `json:"carLicensePlateField4" gorm:"car_license_plate_field4" form:"carLicensePlateField4"` //备用字段4
	CarLicensePlateField5 string         `json:"carLicensePlateField5" gorm:"car_license_plate_field5" form:"carLicensePlateField5"` //备用字段5
}

func (EdgeCarLicensePlate) TableName() string {
	return "edge_car_license_plate"
}

type EdgeCarLicensePlatePageReq struct {
	Pager
	TimeParams
	Id                    int64          `json:"id" gorm:"primaryKey;column:id" form:"id"`                                           //自增ID
	PlateNumber           string         `json:"plateNumber" gorm:"plate_number" form:"plateNumber"`                                 //车牌号
	UploadTime            string         `json:"uploadTime" gorm:"upload_time" form:"uploadTime"`                                    //上传时间
	Status                string         `json:"status" gorm:"status" form:"status"`                                                 //上传状态：1未上传2已上传3上传失败
	CreateTime            utils.JsonTime `json:"createTime" gorm:"create_time" form:"createTime"`                                    //创建时间
	UpdateTime            utils.JsonTime `json:"updateTime" gorm:"update_time" form:"updateTime"`                                    //更新时间
	CarLicensePlateField1 string         `json:"carLicensePlateField1" gorm:"car_license_plate_field1" form:"carLicensePlateField1"` //备用字段1
	CarLicensePlateField2 string         `json:"carLicensePlateField2" gorm:"car_license_plate_field2" form:"carLicensePlateField2"` //备用字段2
	CarLicensePlateField3 string         `json:"carLicensePlateField3" gorm:"car_license_plate_field3" form:"carLicensePlateField3"` //备用字段3
	CarLicensePlateField4 string         `json:"carLicensePlateField4" gorm:"car_license_plate_field4" form:"carLicensePlateField4"` //备用字段4
	CarLicensePlateField5 string         `json:"carLicensePlateField5" gorm:"car_license_plate_field5" form:"carLicensePlateField5"` //备用字段5
}
